/* 头部 */
.head-nav li:hover{
    border-bottom: 2px solid #00bdff;
}
/* .head-nav li:hover a{
    font-weight: bold;
    color: #00bdff;
} */
.head-nav li a{
    color: #666;
}
.head-nav .active a{
    color: #00bdff;
}
.head-nav .active{
    border-bottom: 2px solid #00bdff;
}
.head-button .head-login{
    border: 2px solid #eee;
}

/* API分类 */
.APIkind{
    margin-top: 50px;
}
.APIkind a{
    display: inline-block;
    border: 1px solid #ddd;
    color: #666;
    margin-right: 12px;
    margin-bottom: 10px;
    padding: 7px 15px;
    border-radius: 10px;
}
.APIkind-list .active{
    font-weight: bold;
}
.APIkind-list a:hover{
    border: 1px solid #00bdff;
    color: #00bdff;
}

/* API列表 */
.APIlist{
    margin-top: 65px;
}
.APIlist span{
    position: relative;
}
.APIlist .APIlist-input{
    width: 200px;
    height: 30px;
    background-color: #f4f4f4;
    border-radius: 30px;
    border: 0;
    box-sizing: border-box;
    padding:0 40px 0 20px;
}
.APIlist .APIlist-search{
    position: absolute;
    left: 165px;
    top: 4px;
    cursor: pointer;
    user-select: none;
}
.APIlist-list{
    margin-top: 20px;
}
.APIlist-list li:hover .APIlist-btn{
    bottom: 15px;
}
.APIlist-list li:hover .APIlist-demoal{
    padding-top: 40px;
}
.APIlist-list li{
    width: 226px;
    height: 268px;
    border: 1px solid #eee;
    margin: 0 15px 16px 0;
    float: left;
    position: relative;
    overflow: hidden;
}
.APIlist-list li:nth-child(5n){
    margin-right: 0;
}
.APIlist-demoal{
    width: 228px;
    height: 268px;
    text-align: center;
    box-sizing: border-box;
    padding-top: 50px;
    position: relative;
    transition: all 0.5s;
}
.APIlist-demoal .APIlist-btn{
    display: inline-block;
    width: 192px;
    height: 32px;
    background-color: #00bdff;
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 32px;
}
.APIlist-btn{
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s;
}
.APIlist-sicon{
    width: 60px;
    height: 22px;
    background-color: #e5f8ff;
    text-align:center;
    line-height: 22px;
    position: absolute;
    top: 10px;
    left: 10px;
}
.green{
    color: green;
}
.red{
    color: red;
}
.APIlist-sicon{
    display: none;
}
.on{
    display: block;
}

/* 蒙层 */
html,body{
    width: 100%;
    height: 100%;
}
.mask{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}
.modal{
    width: 400px;
    height: 500px;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    box-sizing: border-box;
    padding: 20px 20px;
}
.modal-title span{
    padding: 0 40px;
}
.modal-login{
    border-right: 2px solid #eee;
}
.modal p .active{
    position: relative;
}
.modal p .active a{
     color: #00bdff;
}
.modal p .active::after{
    content: '';
    width: 30%;
    height: 3px;
    margin-left: 42px;
    background-color: #00bdff;
    position: absolute;
    top: 30px;
    left: 10px;
}
.modal-lup{
    position: relative;
}
.modal-lup img{
    position: absolute;
    right: 22px;
    bottom: 12px;
    display: none;
}
.modal input{
    height: 50px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    padding: 0 30px;
    position: relative;
}
.modal-uicon{
    width: 25px;
    height: 34px;
    background: url(../imgs/loginIcon.png) no-repeat;
    background-position-x: -54px;
    background-position-y: 2px;
    position: absolute;
    top: 3px;
    left: 2px;
}
.modal-picon{
    width: 25px;
    height: 34px;
    background: url(../imgs/loginIcon.png) no-repeat;
    background-position-x: -24px;
    background-position-y: 2px;
    position: absolute;
    top: 3px;
    left: 2px;
}
.modal-fog{
    margin-top: 15px;
    margin-bottom: 20px;
    text-align: right;
}
.modal button{
    width: 100%;
    height: 50px;
    background-color: #00bdff;
    border: 0;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}
.modal-word{
    position: relative;
}
.modal-register{
    text-align: right;
    margin-right: 40px;
    color: #9999b3;
}
.modal-go{
    width: 25px;
    height: 34px;
    background: url(../imgs/loginIcon.png) no-repeat;
    background-position-x: -50px;
    background-position-y: -28px;
    position: absolute;
    bottom: -8px;
    right: 14px;
}
.modal-right{
    display: none;
}
.modal-right .modal-ma{
    width: 317px;
    height: 266px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 30px;
    margin-bottom: 22px;
}
.modal-right .modal-ma img{
    width: 130px;
}


/* 分页器 */
.section{
    height: 100px;
    margin: 0 auto;
    position: relative;
}
.section-span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.section span{
    margin-right: 22px;
}
.section-span .active{
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #00bdff;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    color: #fff;
}

/* 尾部 */
.foot-top{
    background-color: #f8f8f8;
}